# 作者：小七
# 2024年12月28日


def use_set_slice():
    test_list = [1, 2, 3, 4, 5, 6]
    print(test_list[3:3])
    test_list[3:3] = ['x', 'y', 'z']
    print(test_list)
    test_list.insert(3, ['x', 'y', 'z'])
    print(test_list)


def list_compare():
    a = [1, 2, 3]
    b = [1, 2, 3]
    print(a == b)
    print(id(a), id(b))
    print(a is b)


if __name__ == '__main__':
    # use_set_slice()
    list_compare()
